﻿<UserControl x:Class="AllenalaMente.Games.Blocks.Blocks"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="408" d:DesignWidth="800">

    <Canvas x:Name="LayoutRoot" Width="800" Height="408">
        <Image  Source="/AllenalaMente;component/Assets/Images/sfondoMath.jpg" Width="920" Height="480" Canvas.Left="-60"/>

        <!--Lampione-->
        <Ellipse Canvas.Left="47" Canvas.Top="50" Height="81" Name="ellipse1" Stroke="Black" StrokeThickness="3" Width="87">
            <Ellipse.Fill>
                <RadialGradientBrush>
                    <GradientStop Color="Yellow" Offset="0" />
                    <GradientStop Color="#FF14DE42" Offset="1" />
                </RadialGradientBrush>
            </Ellipse.Fill>
        </Ellipse>

        <TextBlock Canvas.Left="47" Canvas.Top="68" Height="51" Name="textBlocksolution" Text="" Width="87" TextAlignment="Center" FontSize="30" Foreground="#FF0A0101" />
        <Rectangle Canvas.Left="83" Canvas.Top="127" Height="282" Name="rectangle1" Stroke="Black" StrokeThickness="1" Width="14" Fill="#FF625656" />

        <Canvas Canvas.Left="0" Canvas.Top="288" Height="100" Name="canvasBlocks" Width="800" />

        <TextBlock Canvas.Left="0" Canvas.Top="224" Height="43" Name="textBlockPoints" Text="" Width="800" Foreground="Yellow" FontSize="30" TextAlignment="Center" />

        <Image Opacity="0" IsHitTestVisible="False" Name="imgGiusto" Source="/AllenalaMente;component/Assets/Images/Ui/Giusto.png" Canvas.Left="347" Canvas.Top="36"></Image>
        <Image Opacity="0" IsHitTestVisible="False" Name="imgSbagliato" Source="/AllenalaMente;component/Assets/Images/Ui/Sbagliato.png" Canvas.Left="327" Canvas.Top="36" Height="116" Width="166"></Image>

        <!--Canvas di countdown-->
        <Canvas Name="CanvasCountdown" Width="800" Height="408" Background="Black" Opacity="0.4">
            <TextBlock Name="TextBlockReady" Canvas.Top="140" Text="Ready?" Width="800" Height="100" FontWeight="Bold" Foreground="White" TextAlignment="Center" FontSize="56" FontFamily="Comic Sans MS"></TextBlock>
        </Canvas>
    </Canvas>
</UserControl>
